package com.onetime.mall.trading.vo;

import com.onetime.mall.trading.entity.IdleItemEntity;
import com.onetime.mall.trading.entity.MessageEntity;
import com.onetime.mall.trading.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MessageAndUserVo extends MessageEntity {
    /**
     * 来自用户
     */
    private UserEntity fromUserEntity;
    /**
     * 回复用户
     */
    private UserEntity toUserEntity;
    /**
     * 商品信息
     */
    private IdleItemEntity idleItemle;
    /**
     * 回复消息
     */
    private MessageEntity toMessages;
}
